package com.zwps.biz.api.model.vo.log.message;

import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @ClassName: SelectLogMessageVO
 * @Description:
 * @author lyh
 * @date 2023年10月19日 下午4:34:57
 *
 */
@Schema(description = "分页查询消息日志")
@Getter
@Setter
@ToString
public class SelectLogMessageVO {

    @Schema(description = "id")
    private Integer id;

    /**
     * 交换机
     */
    @Schema(description = "交换机")
    private String exchange;

    /**
     * 路由
     */
    @Schema(description = "路由")
    private String routeKey;

    /**
     * 队列
     */
    @Schema(description = "队列")
    private String queue;

    /**
     * 项目id
     */
    @Schema(description = "项目id")
    private String projectId;

    @Schema(description = "项目名称")
    private String projectName;

    /**
     * 消息来源（1：生产者|2：消费者）
     */
    @Schema(description = "消息来源（1：生产者|2：消费者）")
    private Integer messageSource;

    @Schema(description = "消息来源名称（生产者|消费者）")
    private String messageSourceName;

    @Schema(description = "处理异常")
    private String processException;

    @Schema(description = "消息内容")
    private String messageContent;

    /**
     * 消费处理状态（0成功|1失败）
     */
    @Schema(description = "消费处理状态（0成功|1失败）")
    private Integer processStatus;

    @Schema(description = "消费处理状态名称（成功|失败）")
    private String processStatusName;

    /**
     * 消息类型
     */
    @Schema(description = "消息类型")
    private Integer messageType;

    @Schema(description = "消息类型名称")
    private String messageTypeName;

    @Schema(description = "日志时间")
    private LocalDateTime createTime;

}
